package com.hooenergy.etl.starter.core;

import lombok.Getter;
import lombok.Setter;


@Getter
@Setter
public abstract class AbsDataIndex {


    // 业务索引id
    private String businessId;


    // 业务查询条件
    private QueryCriteria queryCriteria;



    public static AbsDataIndex getInstance(Class<?> cls) throws IllegalAccessException, InstantiationException {
        return (AbsDataIndex) cls.newInstance();
    }

    public abstract HotTime getHotTime();

    public abstract Class<?> getHotDao();

    public abstract Class<?> getColdDao();
}
